package com.ruoyi.project.system.lotto.mapper;

import com.ruoyi.project.system.lotto.domain.LottoLogs;
import com.ruoyi.project.system.lotto.domain.LottoLogsExample;
import java.util.List;

import com.ruoyi.project.system.lotto.domain.RecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LottoLogsMapper {
    long countByExample(LottoLogsExample example);

    int deleteByExample(LottoLogsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LottoLogs record);

    int insertSelective(LottoLogs record);

    List<LottoLogs> selectByExample(LottoLogsExample example);

    LottoLogs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LottoLogs record, @Param("example") LottoLogsExample example);

    int updateByExample(@Param("record") LottoLogs record, @Param("example") LottoLogsExample example);

    int updateByPrimaryKeySelective(LottoLogs record);

    int updateByPrimaryKey(LottoLogs record);

    List<RecordVo> getRecords(@Param("userId") Long userId);
}